package com.guaoran.user;

import com.guaoran.user.dto.*;

/**
 * @author : guaoran
 * @Description : <br/>
 *  用户核心接口
 * @date :2018/12/12 13:10
 */
public interface IUserCoreService {

    /**
     * 用户登录
     * @param request
     * @returnz
     */
    UserLoginResponse login(UserLoginRequest request);


    /**
     * 校验过程
     * @param request
     * @return
     */
    CheckAuthResponse validToken(CheckAuthRequest request);


    /*
     * 注册
     */
    UserRegisterResponse register(UserRegisterRequest userRegisterRequest) throws Exception;
}
